pandas convert all column names to lowercase

75

pandas convert all column names to lowercase -

# rename Pandas columns to lower case
df.columns= df.columns.str.lower()
df.columns
Index(['column1', 'column2', 'column3'], dtype='object')

Comments

Submit
0 Comments